const mongoose = require("mongoose")
const Schema = mongoose.Schema

const historicalSchema = new Schema({
  name: String,
  cover: String,
  des: String,
  md: String,
  vistor: {
    type: Number,
    default: 1
  },
  date: {
    type: Number,
    default: Date.now
  },
})

module.exports = mongoose.model("historical", historicalSchema)